// redux集合的  关于的redux
import { Stated, Action } from '../../utils/index';

const initState: Stated = {

}

//第一种
let Redux_regards = (state = initState, action: Action) => {

    //深拷贝一下  调用仓库时候直接newData.
    let newData = JSON.parse(JSON.stringify(state));

    switch (action.type) {
        
        default: return {
            ...newData
        }
    }
}


export default Redux_regards